home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
gnu
/
textutils_1_3.LHA
/
textutils-1.3
/
cat
/
expand.1
< prev
next >
Wrap
Text File
|
1992-09-22
|
2KB
|
67 lines
EXPAND(1L) MISC. REFERENCE MANUAL PAGES EXPAND(1L)
NAME
expand - convert tabs to spaces
SYNOPSIS
expand [-tab1[,tab2[,...]]] [-t tab1[,tab2[,...]]] [-i]
[--tabs=tab1[,tab2[,...]]] [--initial] [file...]
DESCRIPTION
This manual page documents the GNU version of expand.
expand writes the contents of each given file, or the stan-
dard input if none are given or when a file named `-' is
given, to the standard output, with tab characters converted
to the appropriate number of spaces. By default, expand
converts all tabs to spaces. It preserves backspace charac-
ters in the output; they decrement the column count for tab
calculations. The default action is equivalent to -8 (set
tabs every 8 columns).
OPTIONS
-, -_t, --_t_a_b_s _t_a_b_1[,_t_a_b_2[,...]]
If only one tab stop is given, set the tabs _t_a_b_1 spaces
apart instead of the default 8. Otherwise, set the
tabs at columns _t_a_b_1, _t_a_b_2, etc. (numbered from 0) and
replace any tabs beyond the tabstops given with single
spaces. If the tabstops are specified with the -_t or
--_t_a_b_s option, they can be separated by blanks as well
as by commas.
-_i, --_i_n_i_t_i_a_l
Only convert initial tabs (those that precede all non
space or tab characters) on each line to spaces.
The long-named options can be introduced with `+' as well as
`--', for compatibility with previous releases. Eventually
support for `+' will be removed, because it is incompatible
with the POSIX.2 standard.
Sun Release 4.1 Last change: 1